<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
   <script src="jQuery复习/jquery-3.3.1.js"></script>
 </head>
 <body>
     <button>复制</button>
	 <div><a>aaaaa</a></div>
 </body>
 <script>
    $("a").click(function(){
	    alert($(this).text());
	});
    $("button").click(function(){
	   //var $a = $("a:first").clone(true);
	   var $a = $("a:first").clone(true);
	   $("div").append($a);
	});
 </script>
</html>
